Foros del Web » Administración de Sistemas » Seguridad y redes »

Crear red entre windows vista y linux ubuntu

Estas en el tema de Crear red entre windows vista y linux ubuntu en el foro de Seguridad y redes en Foros del Web. Hola, no tengo conexion de banda ancha solo acceso teleofnico, por lo cual no me puedo conectar con ubuntu, tengo otra pc con windows vista ...
  #1 (permalink)  
Antiguo 12/01/2009, 20:48
Avatar de alexfut  
Fecha de Ingreso: diciembre-2007
Ubicación: México
Mensajes: 484
Antigüedad: 16 años, 4 meses
Puntos: 8
Exclamación Crear red entre windows vista y linux ubuntu

Hola, no tengo conexion de banda ancha solo acceso teleofnico, por lo cual no me puedo conectar con ubuntu, tengo otra pc con windows vista y quisiera configurar una red entre windows vista y linux ubuntu para compartir la conexion de vista y poder conectarme en ubuntu, he buscado tanto como no se imaginan, lo peor de todo es que mi conexion es dialup y no hay mucha info al respecto solo de como conectar de xp a xp, pero nada relacionado con vista a ubuntu, en vista intente configurar una red pero todas las opciones tienen que ver conr ed inalambrica, y yo quiero configurar una red por cable de red, les agradesco su ayuda.
  #2 (permalink)  
Antiguo 14/01/2009, 11:21
Avatar de jotaincubus  
Fecha de Ingreso: mayo-2005
Ubicación: Medellin - Colombia
Mensajes: 1.797
Antigüedad: 19 años
Puntos: 394
Respuesta: Crear red entre windows vista y linux ubuntu

Pues para configurar la red alambrica en Windows Vista lo haces en el panel de control, tanto en vista predeterminada de Windows Vista como en la vista clásica y seleccionar Network and Internet (Redes e Internet) > y buscar Network and Sharing Center (Centro de redes y recursos compartidos). Seleccionas la opcion a la derecha que se llama Manage Network Connections (Administrar conecxiones de Red) y ahi te aparece las conexiones de red... ahora lo unico que debes hacer es configurar direccionamiento IP en UBUNTU y VISTA y conectarlos por cable cruzado...
__________________
Por que existe gente que no agradece después de que se le ha brindado tiempo y ayuda ???
  #3 (permalink)  
Antiguo 14/01/2009, 21:31
Avatar de alexfut  
Fecha de Ingreso: diciembre-2007
Ubicación: México
Mensajes: 484
Antigüedad: 16 años, 4 meses
Puntos: 8
De acuerdo Respuesta: Crear red entre windows vista y linux ubuntu

Hola, muchras gracias pro tu respuesta, lo intentaré y avisaré en el foro lo que sucede, gracias.
  #4 (permalink)  
Antiguo 14/01/2009, 22:15
Avatar de eveliux  
Fecha de Ingreso: octubre-2008
Ubicación: Ensenada, Baja California, México
Mensajes: 130
Antigüedad: 15 años, 6 meses
Puntos: 4
Respuesta: Crear red entre windows vista y linux ubuntu

Para conectar una red con Windows y otra con Linux, de manera formal, hay que instalar el Servidor Samba en Linux. Puedes compartir archivos, impresoras, crear cuentas de usuarios, autentificacion de usuarios, etc.

Saludos,
__________________
Eveliux.com - Artículos, Curso sobre Redes, Telecomunicaciones, TICs
ElevaTuAutoestima.com - Superación Personal
  #5 (permalink)  
Antiguo 15/01/2009, 22:40
Avatar de alexfut  
Fecha de Ingreso: diciembre-2007
Ubicación: México
Mensajes: 484
Antigüedad: 16 años, 4 meses
Puntos: 8
Respuesta: Crear red entre windows vista y linux ubuntu

En wl windows vista no tengo ninguna opcion sobre conexion cableada solo inalambrica, pero inalambrica puedo conectarlas las dos pero usando windows, con linux ni idea, sobre samba, hice un apt installl samba y lo instale, pero no se donde esta, no me aparece samba en ningun menu de aplicaciones ni nada, ademas me desespera no poder tener acceso a internet con linux
  #6 (permalink)  
Antiguo 23/09/2009, 14:28
Usuario no validado
 
Fecha de Ingreso: noviembre-2008
Mensajes: 6
Antigüedad: 15 años, 6 meses
Puntos: 1
Respuesta: Crear red entre windows vista y linux ubuntu

Primero

Para crear una Red de tipo LAN vamos a necesitar tener estos puntos:

a. El usuario de Windows debería de tener contraseña y ser Administrador y tener el Firewall desactivado [Preferentemente]

b. El usuario de Linux debe tener igualmente posibilidad de tener permisos de Root

d. Los usuarios deben pertenecer al Mismo Grupo de Red [Preferentemente]

e. Los usuarios deben estar en la misma máscara de Sub Red [Preferentemente]

Segundo

a. Prepara la máquina Windows para que pertenezca al Grupo [Por ejemplo] MIREDLAN

b. Ahora vamos con Linux

b.1 Instalamos Samba [Sustituye los comandos de Debian por los de tu Distribución]

Como Root ejecutamos

Cita:
# apt-get install samba smbldap-tools ldb-tools ctdb

# apt-get install samba-client

# apt-get install smbfs
b.2 Ahora pon mucha atención: Supongamos que tu Usuario de Windows se llama "pancho" y la contraseña es "123456" entonces debemos agregar a "pancho" dentro de Samba para que puede acceder a la carpeta de red de Linux.

Primero vamos a agregar a "pancho" Como Root ejecuta:

Cita:
# useradd -s /bin/bash pancho

# passwd 123456

# smbpasswd -a 123456

b.3 Supongo que ahora vamos a crear nuestra carpeta de Red. Entonces dentro de tu "home" crea una carpeta que le vamos a llamar "Compartidos"

[Lo puedes hacer con el Mouse Click derecho crear carpeta]
  #7 (permalink)  
Antiguo 23/09/2009, 14:32
Usuario no validado
 
Fecha de Ingreso: noviembre-2008
Mensajes: 6
Antigüedad: 15 años, 6 meses
Puntos: 1
Respuesta: Crear red entre windows vista y linux ubuntu

b.4 Ahora vamos a ingresar esa carpeta dentro de samba, para ello vamos a ingresar en Terminal como Root:

#

Deberías dejarlo así:

Cita:
Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which

# are not shown in this example
#
# Some options that are often worth tuning have been included as

# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = MIREDLAN

# server string is the equivalent of the NT Description field
server string = %h MI SERVIDOR


# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# If we receive WINS server info from DHCP, override the options above.
include = /etc/samba/dhcp.conf

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast

#### Networking ####

; interfaces = 127.0.0.0/8 eth0

; bind interfaces only = yes

#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
# syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d

####### Authentication #######

# "security = user" is always a idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
# security = user

security = SHARE

# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam

obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan < for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes

########## Domains ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
; domain logons = yes
#
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of the user's profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
; logon path = \%Nprofiles%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \%N%U

; logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

########## Printing ##########
# lpr(ng) printing. You may wish to override the location of the
# printcap file
; printing = bsd
; printcap name = /etc/printcap

# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
; printing = cups
; printcap name = cups

############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m

; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
# domain master = auto


; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash

# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
; winbind enum groups = yes
; winbind enum users = yes

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 (default) means that usershare is disabled.
; usershare max shares = 100

#======================= Share Definitions =======================

[homes]
comment = Home Directories
browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
read only = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700

# By default, \serverusername shares can be connected to by anyone
# with access to the samba server.
# The following parameter makes sure that only "username" can connect
# to \serverusername
# This might need tweaking when using external authentication schemes
valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
; share modes = no

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes

# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom

[Compartidos]
comment = Carpeta para compartir archivos
path = /home/tuusuario/Compartidos
public = yes
writable = yes

Eso sería todo. Pero ACLARACIÓN

Samba tiene la particularidad que no funciona igual en todas las máquinas, es decir este ejemplo es de mi Servidor. El 80% de las veces siempre se debe de cambiar algo dependiendo del Sistema Operativo Linux que uses así que solo te puse lo anterior para que te guíes.
  #8 (permalink)  
Antiguo 23/09/2009, 20:33
Avatar de alexfut  
Fecha de Ingreso: diciembre-2007
Ubicación: México
Mensajes: 484
Antigüedad: 16 años, 4 meses
Puntos: 8
Respuesta: Crear red entre windows vista y linux ubuntu

grazzie, muy bien explicado
  #9 (permalink)  
Antiguo 24/09/2009, 09:46
 
Fecha de Ingreso: septiembre-2009
Mensajes: 3
Antigüedad: 14 años, 7 meses
Puntos: 0
Sonrisa Crear red entre red entre windows y linux

como puedo hacer para hacer crear un escritorio remoto entre ubuntu y windows xp
  #10 (permalink)  
Antiguo 24/09/2009, 09:51
 
Fecha de Ingreso: septiembre-2009
Mensajes: 3
Antigüedad: 14 años, 7 meses
Puntos: 0
Respuesta: Crear red entre windows vista y linux ubuntu

Ubuntu trae esa opcion por default solo instala vnc viewer y server en winxp y abri el visor de escritorios remotos suerte
  #11 (permalink)  
Antiguo 24/09/2009, 09:53
 
Fecha de Ingreso: septiembre-2009
Mensajes: 3
Antigüedad: 14 años, 7 meses
Puntos: 0
Respuesta: Crear red entre windows vista y linux ubuntu

Para que sirve y como se instala Samba en Ubuntu 9-04
  #12 (permalink)  
Antiguo 24/09/2009, 09:54
 
Fecha de Ingreso: septiembre-2009
Mensajes: 1
Antigüedad: 14 años, 7 meses
Puntos: 0
Respuesta: Crear red entre windows vista y linux ubuntu

install samba o busca en synaptic si tenes el 9.04 y sirve para compartir archivos con xp
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:02.